<!DOCTYPE html>
<html>
<head>
<title>员工档案管理(入库表)</title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.name" @keyup.enter="query" placeholder="姓名">
			</div>
			<a class="btn btn-default" @click="query">查询</a>
			<!--#if($shiro.hasPermission("emparchivesbase:save"))-->
			<!--<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>-->
			<!--#end-->
			<!--#if($shiro.hasPermission("emparchivesbase:update"))-->
			<!--<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>-->
			<!--#end-->
			<!--#if($shiro.hasPermission("emparchivesbase:delete"))-->
			<!--<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>-->
			<!--#end-->
			#if($shiro.hasPermission("emparchivesbase:archivePass"))
			<a class="btn btn-primary" @click="archivePass" >&nbsp;档案接收</a>
			#end
			<a class="btn btn-primary" @click="archiveNoPass">&nbsp;档案退回</a>
			<a class="btn btn-primary hidden" @click="probationLeave" >&nbsp;试用期离职</a>
			<a class="btn btn-primaryhidden hidden" @click="certificateAcceptance">&nbsp;证明书接收</a>
			#if($shiro.hasPermission("emparchivesbaserecord:list"))
			<a class="btn btn-primary" @click="reloadjqGridSub" >&nbsp;档案移交记录</a>
			#end
			#if($shiro.hasPermission("emparchivesbase:archiveChangePass"))
			<a class="btn btn-primary" @click="archiveChangePass">&nbsp;异动通过</a>
			#end
			<a class="btn btn-primary" @click="archiveChangeNoPass">&nbsp;异动不通过</a>

		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">系统编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.sysNo" placeholder="系统编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">员工编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.empNo" placeholder="员工编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">员工姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.empName" placeholder="员工姓名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">求职登记表</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.jobRegForm" placeholder="求职登记表"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">身份证复印件</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.cardidCopy" placeholder="身份证复印件"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">相片</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.photo" placeholder="相片"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">劳动合同</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.laborContract" placeholder="劳动合同"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">体检表</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.physicalExam" placeholder="体检表"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">员工手册签收</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.empManual" placeholder="员工手册签收"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">解除合同(离职)证明</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.dimissionCertification" placeholder="解除合同(离职)证明"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">备注</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empArchivesbase.remark" placeholder="备注"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>

	<div v-show="!showTable">
		<div class="panel panel-default">
			<div class="panel-heading">档案移交记录</div>
			<table id="jqGridSub"></table>
			<div id="jqGridPagerSub"></div>
		</div>
	</div>



</div>

<script src="${rc.contextPath}/js/empManage/emparchivesbase.js?_${date.systemTime}"></script>
</body>
</html>